package TouristManagement;

/**
 * Exception definition : CheckInNotValid
 * 
 * @author OpenORB Compiler
 */
public final class CheckInNotValid extends org.omg.CORBA.UserException
{
    /**
     * Exception member cause
     */
    public String cause;

    /**
     * Default constructor
     */
    public CheckInNotValid()
    {
        super(CheckInNotValidHelper.id());
    }

    /**
     * Constructor with fields initialization
     * @param cause cause exception member
     */
    public CheckInNotValid(String cause)
    {
        super(CheckInNotValidHelper.id());
        this.cause = cause;
    }

    /**
     * Full constructor with fields initialization
     * @param cause cause exception member
     */
    public CheckInNotValid(String orb_reason, String cause)
    {
        super(CheckInNotValidHelper.id() +" " +  orb_reason);
        this.cause = cause;
    }

}
